﻿@model IEnumerable<Sohobloo.SoAuth.Web.Models.ActionModel>

<table>
    <tr>
        <th>
            FunctionName
        </th>
        <th>
            ActionName
        </th>
        <th>
        </th>
    </tr>
    @foreach(var action in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(m => action.FunctionName)
            </td>
            <td>
                @Html.DisplayFor(m => action.ActionName)
            </td>
            <td>
                @Ajax.ActionLink("Remove", "Remove", new
                {
                    action.Id
                },new AjaxOptions())
            </td>
        </tr>
    } 
</table>